import request from '@/utils/request'

export function productList(data) {
    return request({
        url: '/smkapi/products/productList',
        method: 'post',
        data
    })
}
//获取面食预加工详情
export function getProductInfo(data) {
    return request({
        url: '/smkapi/products/getProductInfo',
        method: 'post',
        data
    })
}
//面食可加工商品
export function getCanProductList(data) {
    return request({
        url: '/smkapi/products/getCanProductList',
        method: 'post',
        data
    })
}
//面食可加工商品
export function selectErpGoodsData(data) {
    return request({
        url: 'smkapi/goods/selectErpGoodsData',
        method: 'post',
        data
    })
}
//交工提交操作
export function product(data) {
    return request({
        url: '/smkapi/products/product',
        method: 'post',
        data
    })
}
//交工提交操作
export function materialBatch(data) {
    return request({
        url: '/smkapi/products/materialBatch',
        method: 'post',
        data
    })
}
//交工提交操作
export function productnew(data) {
    return request({
        url: '/smkapi/products/productnew',
        method: 'post',
        data
    })
}
